<h1>Crm newsletter groups List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Grupo</th>
      <th>Newsletter</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Validated at</th>
      <th>Is validated</th>
      <th>Removed at</th>
      <th>Remove it</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($emergentesletter_groups as $emergentesletter_group): ?>
    <tr>
      <td><a href="<?php echo url_for('newsletterGroup/show?id='.$emergentesletter_group->getId()) ?>"><?php echo $emergentesletter_group->getId() ?></a></td>
      <td><?php echo $emergentesletter_group->getGrupoId() ?></td>
      <td><?php echo $emergentesletter_group->getNewsletterId() ?></td>
      <td><?php echo $emergentesletter_group->getCreatedAt() ?></td>
      <td><?php echo $emergentesletter_group->getUpdatedAt() ?></td>
      <td><?php echo $emergentesletter_group->getValidatedAt() ?></td>
      <td><?php echo $emergentesletter_group->getIsValidated() ?></td>
      <td><?php echo $emergentesletter_group->getRemovedAt() ?></td>
      <td><?php echo $emergentesletter_group->getRemoveIt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('newsletterGroup/new') ?>">New</a>
